package com.cskaoyan.service;

import com.cskaoyan.bean.Storage;
import com.cskaoyan.bean.StorageListBean;
import com.cskaoyan.bean.StorageVO;
import com.cskaoyan.bean.params.BaseParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

/**
 * @USER: cuiweiguo#
 * @DATE: 2022/5/6
 * @TIME: 15:18
 * @PROJECT_NAME: mallproject2
 */
public interface StorageService {
    StorageVO storage(MultipartFile file);

    StorageListBean list(@Param("name") String name, @Param("key") String key, @Param("baseParam") BaseParam baseParam);

    int delete(Storage storage);

    Storage update(Storage storage);
}
